<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Title</title>
</head>
<body>
<p th:if="${param.logout}" class="bg-warning">已注销</p>
<p th:if="${param.error}" class="bg-danger">有错误，请重试</p>
    <form action="/login"  method="POST">
        <input type="text" name="username" placeholder="账号" />
        <br/>
        <input type="password" name="password" placeholder="密码" />
        <br/>
        <input type="submit" value="login" />
    </form>
</body>
</html>